export const userColumns = [
    {
        title: "ID",
        dataIndex: "id",
    },
    {
        title: "账号",
        dataIndex: "username",
    },
    {
        title: "密码",
        dataIndex: "password",
    },
    {
        title: "昵称",
        dataIndex: "nickname",
    },
    {
        title: "角色",
        dataIndex: "rname",
    },
];

export const roleColumns = [
    {
        title: "角色ID",
        dataIndex: "id",
    },
    {
        title: "角色名称",
        dataIndex: "name",
    },
];

export const apiAclColumns = [
    {
        title: "接口ID",
        dataIndex: "id",
    },
    {
        title: "接口名称",
        dataIndex: "name",
    },
    {
        title: "接口请求路径",
        dataIndex: "path",
    },
    {
        title: "接口请求方式",
        dataIndex: "method",
    },
];

export const uiAclColumns = [
    {
        title: "视图ID",
        dataIndex: "id",
    },
    {
        title: "视图名称",
        dataIndex: "name",
    },
];

export const roleApiAclColumns = [
    {
        title: "角色名称",
        dataIndex: "rname",
    },
    {
        title: "接口名称",
        dataIndex: "aname",
    },
    {
        title: "接口请求路径",
        dataIndex: "apath",
    },
    {
        title: "接口请求方式",
        dataIndex: "amethod",
    },
];

export const roleUiAclColumns = [
    {
        title: "角色名称",
        dataIndex: "rname",
    },
    {
        title: "视图ID",
        dataIndex: "aid",
    },
    {
        title: "视图名称",
        dataIndex: "aname",
    },
];
